package org.NooLab.texx;

import java.io.Serializable;

import org.NooLab.texx.*;
import org.NooLab.texx.components.AlgorithmDeclarationsLoader;
import org.NooLab.texx.properties.PersistenceSettings;
import org.NooLab.texx.properties.TexxAppGeneralPropertiesIntf;
import org.NooLab.texx.properties.TexxProperties;
import org.NooLab.texx.storage.FileOrganizer;




public class TexxAppProperties 
									extends 
												TexxAppPropertiesAbstract 
									implements 
												TexxAppPropertiesIntf,
												Serializable{

	
	private static final long serialVersionUID = 8370982884760261224L;
	
	String dataSrcFilename="" ;
	int sourceType;
	
	// ------------------------------------------------------------------------
	public TexxAppProperties(){
		super();
	}
	// ------------------------------------------------------------------------
	
	
	
	public void setFileOrganizer(FileOrganizer forg) {
		fileOrganizer = forg;
	}

	
	
	@Override
	public FileOrganizer getFileOrganizer() {
		// 
		return fileOrganizer ;
	}



	public TexxPluginSettingsIntf getPluginSettings() {
		return pluginSettings;
	}
	
	@Override
	public void setPluginSettings(TexxPluginSettingsIntf pluginsettings) {
		this.pluginSettings = pluginsettings;
	}



	public PersistenceSettings getPersistenceSettings() {
		return persistenceSettings ;
	}

	@Override
	public void setPersistenceSettings(PersistenceSettings ps) {
		persistenceSettings = ps ;
	}



	public TexxProperties getPropertiesConnection() {
		return texxProperties;
	}
	public void setPropertiesConnection( TexxProperties genprops) {
		texxProperties = genprops;
	}


	public void setFactoryParent(TexxFactory txxfactory) {
		texxFactory = txxfactory ;
	}

	

	
	@Override
	public int getSourceType() {
		// 
		return sourceType;
	}
	
	@Override
	public void setDataSrcFilename(String filename) {
		// 
		dataSrcFilename = filename;
	}

	
	@Override
	public String getDataSrcFilename() {
		// 
		return dataSrcFilename;
	}
	
	
	
	
}
